import Vue from "vue"
import Vuex from "vuex"
import state from './state';
import * as actions from './actions';
import * as mutations from './mutations';

Vue.use(Vuex);

export default new Vuex.Store({
  strict: true, // 严格模式，必须通过mutations修改值
  state,
  actions,
  mutations,
})
